package org.example.spring;

import org.springframework.stereotype.Component;

import java.util.logging.Logger;

/**
 * 演示的Bean
 *
 * @author bobo
 * @since 2024/4/26
 */
@Component
public class ExampleBean {

	Logger logger = Logger.getLogger(ExampleBean.class.getName());

	public void firstMethod() {
		logger.info("firstMethod");
	}

	@Override
	public String toString() {
		return "I'm ExampleBean!";
	}
}
